using System;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Text;

namespace Datos
{
    public class Connection
    {

         private Connection()
         {
         }

         private static String stringConexion = @"server=TG;DataBase=Jetaime;user id=sa;password=1024;";
        
        //
         
         private static SqlConnection cnn = null;
         
         public static SqlConnection getConnection()
         {
             if (cnn == null)
             {
                 cnn = new SqlConnection(stringConexion);
                 return cnn;
             }
             
             return cnn;
         }
    }
}
